package com.qf.clients;

import com.qf.pojo.vo.QfOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "qflive-order",path = "order")
public interface OrderClients {

    @RequestMapping("/findById")
    public QfOrder findById(@RequestParam("id")String id);

    @RequestMapping("/udpateById")
    public QfOrder udpateById(@RequestBody QfOrder qfOrder);
}
